	&lt;!--- -------------------------------------------------------------------------------------- ---&gt;

	&lt;cffunction name="delete<xsl:value-of select="//bean/@name"/>" access="public" output="false" returntype="boolean"&gt;
		<xsl:for-each select="root/bean/dbtable/column[@primaryKey='Yes']">&lt;cfargument name="<xsl:value-of select="@name" />" type="numeric" required="true" /&gt;</xsl:for-each>
		&lt;cfset var local = structNew() /&gt;

		&lt;cfquery name="local.deleted" datasource="#request.datasource#"&gt;
			DELETE FROM	<xsl:value-of select="//dbtable/@name" />
				WHERE <xsl:for-each select="root/bean/dbtable/column[@primaryKey='Yes']"><xsl:value-of select="@name" /> = &lt;cfqueryparam value="#arguments.<xsl:value-of select="@name" />#" CFSQLType="<xsl:value-of select="@cfSqlType" />" /&gt;<xsl:if test="position() != last()">
			AND	</xsl:if></xsl:for-each>
		&lt;/cfquery&gt;

		&lt;cfreturn true /&gt;
	&lt;/cffunction&gt;